# Contribuitor: sick <sick@rape.lol>
# Maintainer: sick <sick@rape.lol>
pkgname=2bwm
pkgver=0.2
pkgrel=0
pkgdesc="A fast floating window manager"
url="https://github.com/venam/2bwm"
arch="all"
license="ISC"
depends="libxcb xcb-util-keysyms xcb-util-wm xcb-util-xrm xcb-util-xrm"
makedepends="libxcb-dev xcb-util-keysyms-dev xcb-util-wm-dev xcb-util-xrm-dev "
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/venam/2bwm/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make || return 1
}

package() {
	cd "$builddir"
	make PREFIX=/usr DESTDIR=$pkgdir \
	install || return 1
}

sha512sums="e2a9c6bd41818b79bcf5b1e9fa789d829921c1cee9351783f8b3a20a7efc4641fb8a6bd04485c97895a8161737d02efe55014781d29e89b9e84fcf1e0aef2c2e  2bwm-0.2.tar.gz"
